package com.rerun.entity;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rerun.common.util.JsonDateFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * The type Job intention.
 */
@TableName("job_intention")
public class JobIntention extends Model<JobIntention> {

    private static final long serialVersionUID = -6519398156312491386L;
    @TableId(type = IdType.UUID)
    private String id;
    private String memberId;
    private String workType;
    private String workCity;
    private String jobType;
    private String hopePay;
    private String industryType;
    private String workStatus;
    @JsonSerialize(using=JsonDateFormat.class)
    private Date updateTime;
    @JsonSerialize(using=JsonDateFormat.class)
    private Date createTime;
    //工作经验
    private String experience;
    @TableField(exist = false)
    private String highestEdu;
    
    public String getHighestEdu() {
		return highestEdu;
	}

	public void setHighestEdu(String highestEdu) {
		this.highestEdu = highestEdu;
	}

	public String getExperience() {
		return experience;
	}

	public void setExperience(String experience) {
		this.experience = experience;
	}



	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getWorkType() {
        return workType;
    }

    public void setWorkType(String workType) {
        this.workType = workType;
    }

    public String getWorkCity() {
        return workCity;
    }

    public void setWorkCity(String workCity) {
        this.workCity = workCity;
    }

    public String getJobType() {
        return jobType;
    }

    public void setJobType(String jobType) {
        this.jobType = jobType;
    }

    public String getHopePay() {
        return hopePay;
    }

    public void setHopePay(String hopePay) {
        this.hopePay = hopePay;
    }

    public String getIndustryType() {
        return industryType;
    }

    public void setIndustryType(String industryType) {
        this.industryType = industryType;
    }

    public String getWorkStatus() {
		return workStatus;
	}

	public void setWorkStatus(String workStatus) {
		this.workStatus = workStatus;
	}

	public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "{" +
                "id:" + id +
                ", memberId:" + memberId +
                ", workType:" + workType +
                ", workCity:" + workCity +
                ", jobType:" + jobType +
                ", hopePay:" + hopePay +
                ", industryType:" + industryType +
                ", workStatus:" + workStatus +
                ", updateTime:" + updateTime +
                ", createTime:" + createTime +
                ", experience:" + experience +
                '}';
    }
}
